package com.iwop.moto.utils.LotteryUtils;

import com.iwop.moto.service.MCouponConfigService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author czq
 * @version 1.0
 * @created 2017/3/7 0007.
 */

public class NewCouponLottery {
    @Autowired
    MCouponConfigService mCouponConfigService;

    //私有构造 防止实例化
    private NewCouponLottery() {
    }

    //单例
    private static NewCouponLottery instance;

    public static NewCouponLottery getInstance() {
        if (instance == null) {
            instance = new NewCouponLottery();
        }
        return instance;
    }




}
